package com.example.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.web.config.BusinessException;
import com.example.web.tool.ResultInfo;

@RestController
public class LoginController {

	
	/**
     * 登录
     *
     * @param
     * @return
     */
	@GetMapping("/login")
    public ResultInfo login(HttpServletRequest request, String userName, String password) {
        throw new BusinessException("test");
    }

}
